var express = require('express');
var router = express.Router();

const { addThing, getThing, delThing, findThing, changeThing,findMore, } = require('../controllers/thingList');


router.get('/addThing', addThing);//添加物料
router.get('/getThing', getThing);//获取物料
router.post('/delThing', delThing);//删除物料
router.post('/findThing', findThing);//查找物料
router.post('/changeThing', changeThing);//修改物料
router.post('/findMore', findMore);//多个ID查询

module.exports = router;